<?php

namespace App\Http\Controllers;


use App\Jobs\SendMessage;
use App\Models\Notice;
use Illuminate\Support\Facades\Validator;
use Illuminate\Http\Request;

class NoticeController extends Controller
{
    public function index()
    {
        $notices = \Auth::user()->notices;
        return view('notice.index',compact('notices'));
    }



}
